/**
 * Created by wuxinbo on 2017/5/21.
 */
public class Demo {


    public static void main(String[] args){
       long startTime = System.currentTimeMillis();
        for (int i = 0; i < 1000; i++) {
            System.out.println(i);
        }
        long endTime =System.currentTimeMillis();
        System.out.println("cost time is "+(endTime-startTime));
    }
}
